<template>
  <div>
      <div class="order-list-wrapper">
            <div class="order-list">
                <div class="order-item">
                    <div class="order-header-wrapper" now="1618620799849">
                        <div class="order-header-time">创建时间：2021-04-16 18:54:19</div>
                        <div class="order-header-id">订单号：4005340261983999</div>
                        <div class="order-header-status">已取消
                            <!---->
                        </div>
                    </div>
                    <div class="order-item-body-wrapper">
                        <div class="order-item-img"
                            style="background-image: url(&quot;//i1.hdslb.com/bfs/openplatform/202104/cBe6e2dZ1617934628581.jpeg@74w_74h.jpeg&quot;);">
                        </div>
                        <div class="order-item-body">
                            <div class="order-item-name-wrapper">
                                <div class="name order-item-title-name" style="-webkit-box-orient: vertical;">
                                    哈尔滨·shining Heart动漫游戏嘉年华-初夏祭
                                    <!---->
                                </div>
                                <div class="time">场次：5月1日</div>
                            </div>
                            <div class="order-item-count">1张</div>
                            <div class="order-item-total">
                                <div class="order-item-total_money">￥45</div>
                            </div>
                            <div class="order-item-ticket-type">电子票</div>
                            <div class="order-item-deliver">
                                无需配送
                            </div>
                        </div>
                        <div class="order-item-btn-group">
                            <!---->
                            <div class="btn checkdetail" @click="show">查看订单</div>
                        </div>
                    </div>
                </div>
                <!---->
            </div>
            <div class="whole-pagination-wrapper">
                <div class="pagination-wrapper">
                    <div class="arrow pagination-left-arrow disabled"></div>
                    <div class="pagination"><span class="pageNum active">1
                        </span></div>
                    <!---->
                    <div class="arrow pagination-right-arrow disabled"></div>
                </div>
                <!---->
                <!---->
            </div>
            <!---->
        </div>
        
        
  </div>
</template>

<script>
export default {
  name: 'Order',
  data(){
    return{
    datas:{}
    }
  },
  beforeMount() {
    let datas = JSON.parse(this.$route.query.dd);
    this.datas =datas
  },
  methods:{
    show(){
    console.log(this.datas)
    }
  }

}
</script>

<style >

a,
article,
body,
div,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
html,
iframe,
img,
input,
li,
p,
section,
span,
textarea,
ul,
video {
  margin: 0;
  padding: 0;
}
body,
html {
  font-size: 12px;
  color: #222;
}
li,
ul {
  list-style: none;
}
a {
  color: #222;
  text-decoration: none;
}
a,
input {
  outline: none;
  cursor: pointer;
}
textarea {
  overflow: hidden;
}

.order-list-wrapper {
  min-height: 500px;
  width: 980px;
  height: 100%;
  margin: 30px auto 0;
  background-color: #fff;
}
.order-list-wrapper .order-list {
  margin-bottom: 30px;
}
.order-list-wrapper .order-list .order-item {
  border-radius: 5px;
  margin-top: 20px;
  border: 1px solid #e5e9ef;
}
.order-header-wrapper {
  display: -ms-flexbox;
  display: flex;
  height: 42px;
  -ms-flex-align: center;
  align-items: center;
  background-color: #f4f5f7;
  color: #99a2aa;
}
.order-header-wrapper .order-header-time {
  margin-left: 20px;
}
.order-header-wrapper .order-header-id {
  margin-left: 30px;
}
.order-header-wrapper .order-header-status {
  -ms-flex: 1;
  flex: 1;
  text-align: right;
  margin-right: 20px;
  color: #333;
}
.order-list-wrapper .order-list .order-item .order-item-body-wrapper {
  padding: 20px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
}
.order-list-wrapper
  .order-list
  .order-item
  .order-item-body-wrapper
  .order-item-img {
  border-radius: 5px;
  width: 74px;
  height: 74px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.order-list-wrapper
  .order-list
  .order-item
  .order-item-body-wrapper
  .order-item-body {
  margin-left: 10px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex: 1;
  flex: 1;
  height: 74px;
}
.order-list-wrapper
  .order-list
  .order-item
  .order-item-body-wrapper
  .order-item-body
  .order-item-name-wrapper {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 200px;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.order-list-wrapper
  .order-list
  .order-item
  .order-item-body-wrapper
  .order-item-body
  .order-item-name-wrapper
  .name {
  line-height: 20px;
  font-size: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
}
.order-list-wrapper
  .order-list
  .order-item
  .order-item-body-wrapper
  .order-item-body
  .order-item-name-wrapper
  .time {
  color: #99a2aa;
  line-height: 12px;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}
.order-list-wrapper
  .order-list
  .order-item
  .order-item-body-wrapper
  .order-item-body
  .order-item-count {
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
  line-height: 18px;
  width: 45px;
  margin-left: 30px;
}
.order-list-wrapper
  .order-list
  .order-item
  .order-item-body-wrapper
  .order-item-body
  .order-item-total {
  -ms-flex-item-align: center;
  align-self: center;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 90px;
  margin-left: 30px;
}
.order-list-wrapper
  .order-list
  .order-item
  .order-item-body-wrapper
  .order-item-body
  .order-item-ticket-type {
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
  width: 75px;
  margin-left: 30px;
}
.order-list-wrapper
  .order-list
  .order-item
  .order-item-body-wrapper
  .order-item-body
  .order-item-deliver {
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
  width: 90px;
  margin-left: 30px;
}
.order-list-wrapper
  .order-list
  .order-item
  .order-item-body-wrapper
  .order-item-btn-group {
  height: 74px;
  width: 100px;
  text-align: center;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
}
.order-list-wrapper
  .order-list
  .order-item
  .order-item-body-wrapper
  .order-item-btn-group
  .btn {
  cursor: pointer;
  height: 30px;
  line-height: 30px;
  border-radius: 5px;
}
.pagination-wrapper {
  margin-bottom: 55px;
  -ms-flex-pack: center;
  justify-content: center;
  display: -ms-flexbox;
  display: flex;
}
.pagination-wrapper .arrow {
  width: 17px;
  height: 17px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  cursor: pointer;
}
.pagination-wrapper .arrow.pagination-left-arrow {
  background-image: url();
}
.pagination-wrapper .arrow.pagination-left-arrow.disabled {
  cursor: auto;
  background-image: url();
}
.pagination-wrapper .arrow.pagination-right-arrow {
  background-image: url();
}
.pagination-wrapper .arrow.pagination-right-arrow.disabled {
  cursor: auto;
  background-image: url();
}
</style>
